{% load static %}
<link rel="stylesheet" href="{% static 'index.css' %}">



<head>
  <title>MMS Test</title>
    <link rel="icon" type="image/x-icon" href="/static/11.png">
</head>

<h1><a href="http://127.0.0.1:7100/members/" style="color: white;">MMS(Mail-Management-System)</a></h1>

<h2 style="text-align: center; margin: 1ch; color:antiquewhite;">Write Your Email!</h2>

<div style="margin: 0 auto;">


<form action="write_email/{{users.user_id}}" method="post">
{% csrf_token %}
    
<p style="color:antiquewhite; text-align:center">邮件ID:</p>
<input name="email_id" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>
    
<p style="color:antiquewhite; text-align:center">收件人ID:</p>
<input name="receiver_id" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>

<p style="color:antiquewhite; text-align:center">邮件主题:</p>
<input name="email_theme" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>

<p style="color:antiquewhite; text-align:center">邮件内容:</p>
<input name="email_content" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>
    
<p style="color:antiquewhite; text-align:center">邮件附件ID:</p>
<input name="appendix_id" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>
    
<p style="color:antiquewhite; text-align:center">邮件附件名称:</p>
<input name="appendix_name" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>    
    
<p style="color:antiquewhite; text-align:center">邮件附件url地址:</p>
<input name="appendix_url" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>
    
<p style="color:antiquewhite; text-align:center">发送时间:</p>
<input name="sent_time" style="margin-left: 71ch;margin-right: 93ch; margin-top:2ch; margin-bottom:2ch">

<br><br>
    
    
    
<input type="submit" value="Submit" style="margin-left: 73ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch; color: white; 
background-color: #282830; width:14ch; height: 5ch;" >
<input type="submit" value="Save As Draft" formaction="save_as_draft/{{users.user_id}}" style="margin-left: 73ch; margin-right: 72ch;
 margin-top:2ch; margin-bottom:2ch; color: white; background-color: #282830; width:14ch; height: 5ch; ">    

</form>
    
    
</div>
